﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MassOperations.vs2008.View
{
	public partial class CustomCheckedListBox : UserControl
	{
		public CustomCheckedListBox()
		{
			InitializeComponent();
		}

		private void buttoncheck_Click(object sender, EventArgs e)
		{
			for (var i = 0; i < CheckedListBox.Items.Count; i++ )
				CheckedListBox.SetItemChecked(i, true);
		}

		private void buttonuncheck_Click(object sender, EventArgs e)
		{
			for (var i = 0; i < CheckedListBox.Items.Count; i++)
				CheckedListBox.SetItemChecked(i, false);
		}
	}
}
